package com.javacore.day13.thread.example3;

public class Main4 {
	public static void main(String[] args) {
		MyThread4 t1 = new MyThread4();
		t1.start();
		try {
			t1.join(); // wait for the thread to terminate
		} catch (InterruptedException e) {
			System.out.println("ERROR: Thread was interrupted");
		}

		System.out.println("Thread is done!");
	}
}
